$(function() {
    var vm = new Vue({
        el: '.box',
        data: {
            message: '',
            things: [],
            isShow: false,
        },
        methods: {
            keyEnt: function() {
                console.log(this.things);
                this.things.push(this.message);

            },
            remove: function(index) {

                // $('li')[index].remove();
                this.things.splice(index, 1);

            },
            clear1: function() {
                this.things = [];
            },
        },
    });
});